package day220;

public class OverloadDemo {
    public static void main(String[] args) {

    }
    public static void show(){
    }
    public static void show(String name){
    }
    public static void show(int age){
    }
    public static void show(String name,int age){
    }
    //public static int show(){};//编译错误,重载与返回值类型无关
    //public static void show(String abc){};//编译错误,重载与参数名称无关








}
